<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../js/boot.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../css/HZXXGL.css" type="text/css" />
    <script src="../js/html2canvas.js"></script>
    <script src="../js/jsPdf.debug.js"></script>
</head>

<body>
    <form id="HZXXFORM">
        <div class="bigdiv" id="sectionDiv">
            <div class="bottontitle">
                <span>会诊基本信息</span>
            </div>
            <div class="HZXXGLContent">
                <table>
                    <tr>
                        <td class="tabletitle">会诊标题</td>
                        <td><input required="true" class="mini-textbox" name="dibAndDiacModel.dibTitle" /></td>
                        <td class="tabletitle">就诊患者</td>
                        <td><input required="true" allowInput="false" class="mini-textbox " id="patientName" name="dibAndDiacModel.patientName" /></td>
                        <td class="tabletitle">主持人</td>
                        <td><input required="true" class="mini-textbox" name="dibAndDiacModel.dibEmcee" /></td>
                        <input class="mini-textbox" style="display: none;" id="diacrisisId" name="dibAndDiacModel.diacrisisId" />
                    </tr>
                    <tr>
                        <td class="tabletitle">会诊时间</td>
                        <td><input required="true" class="mini-datepicker" name="dibAndDiacModel.dibTime" allowInput="false"/></td>
                        <td class="tabletitle">会诊地址</td>
                        <td><input required="true" class="mini-textbox" name="dibAndDiacModel.dibAddress" /></td>
                        <td class="tabletitle">记录人</td>
                        <td><input required="true" class="mini-textbox" name="dibAndDiacModel.dibRecorder" /></td>

                    </tr>
                    <tr>
                        <td class="tabletitle">参会人员</td>
                        <td><input required="true" checkRecursive="false" class="mini-treeselect" id="canhuirenyuan" multiSelect="true" style="width:100%;" textField="text" valueField="id" parentField="pid" checkRecursive="true" value="" />
                        </td>
                        <td class="tabletitle">缺席人员</td>
                        <td><input required="true" checkRecursive="false" class="mini-treeselect" id="quexirenyuan" multiSelect="true" style="width:100%;" textField="text" valueField="id" parentField="pid" checkRecursive="true" value="" />
                        </td>
                    </tr>

                </table>
            </div>
            <div class="bottontitle">
                <span>会诊内容</span>
            </div>
            <div class="HZNRContent">
                <table>
                    <tr>
                        <td class="tabletitle">1.会诊目标</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibPurpose" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">2.目前诊断</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibCurrent" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">3.病史特征</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibFeature" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">4.产科咨询</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibConsult" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">5.流转运程</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibTransport" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">6.其他</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibOther" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">7.会议意见</td>
                        <td><textarea required="true" class="mini-textarea" name="dibAndDiacModel.dibPropose" emptyText=""></textarea> </td>
                    </tr>
                    <tr>
                        <td class="tabletitle">8.资料管理</td>
                        <td><input type="file" id="thisnibaba" name="dibAndDiacModel.dibFiles" multiple /></td>
                    </tr>
                    <tr>
                        <td colspan="2" class="buttomList" style="padding-top: 50px;">
                            <input type="button" class="HZXXGLsubmit" onclick="submintZHXXGLform(this)" value="保存" />
                            <input type="button" class="HZXXGLsubmit" value="资料查询" onclick="onclick4()" />
                            <input type="button" class="HZXXGLsubmit" onclick="submintZHXXGLform(this)" value="导出PDF" />
                            <input type="button" class="HZXXGLsubmit" onclick="exportThis()" value="导出excle" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
    <div class="zhezhao"></div>
    <div class="zdmenu">
        <div class="zdmenubuttom">
            <img src="../img/hide.png">
        </div>
        <div class="rightmenu">
            <div>
                <div class="rightselect">
                    <input class="thisrightselect" placeholder="身份证/卡号/姓名" oninput="changeselect()" />
                    
                </div>
                <div class="rightuserconten">
                    <div class="XYuserconten">
                        <div class="righttitle">诊断登记患者</div>
                        <div class="xinruguahao">
                        </div>
                    </div>
                    <div class="LSuserconten">
                        <div class="righttitle">历史诊断患者</div>
                        <div class="lishiguahao" hidden>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="BLCXClass">
        <div></div>
    </div>
    <div class="tanchuang" style="display: none;">
        <div class="BLZL">
            <div class="BLZLtitle">
                <div class="BLZLname">病例资料</div>
                <div class="closeduotaidiv" onclick="closeBLZL()">X</div>
            </div>
            <div class="BLZLconten">
                <!-- <div id="imgtab" class="mini-tabs" activeIndex="0" style="width:100%;min-height:200px;height: 100%;" plain="false" buttons="#downfile" >
                </div>
                <div id="downfile" >
                    <div style="background: url(../img/XZ.png) no-repeat;background-size: 100%; height: 70%;width: 70%;"></div>
                </div> -->
                <div class="mini-fit" style="width: 100%;">
                    <div id="files_grid" class="mini-datagrid" style="width:100%;height:100%;" showPager='false'>
                        <div property="columns">
                            <div field="fileName" headerAlign="center" align="center" allowSort="false" renderer="onActionRenderer">文件名称</div>
                            <div field="fileSize" headerAlign="center" align="center" allowSort="false">文件大小(kb)</div>
                            <div field="fileUpTime" width="120" headerAlign="center" align="center" allowSort="false" dateFormat="yyyy-MM-dd hh:mm:ss">上传时间</div>
                            <div field="fileDownloadNo" headerAlign="center" align="center" allowSort="false">下载次数</div>
<!--                            <div field="fileRemark" headerAlign="center" align="center" allowSort="false">文件备注</div>-->
                            <div field="upUserName" headerAlign="center" align="center" allowSort="false">上传人</div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
<!-- 右侧菜单里的用户模板 -->
<script id="user" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user" onclick="rightuserclick(this)">
        <span class="thisuserid" hidden>${user.diacrisisId}</span>
        <img src="../img/userimg.png">
        <p><span class="thisusername">${user.patientName}</span> 【${user.cardNo}】<br/><span class='patientCardId'>${user.patientCardId}</span>
        </p>
    </div>
    {%/each%}
</script>
<script id="lishiuser" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user" onclick="rightlishiclick(this)">
        <span class="thisuserid" hidden>${user.dibId}</span>
        <img src="../img/userimg.png">
        <p>${user.patientName} 【${user.cardNo}】<br/>${user.patientCardId}
        </p>
    </div>
    {%/each%}
</script>
<script src="../js/HZXXGL.js"></script>